package com.ruoyi.develop.goodsReimbursementDetail.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 发放打款明细信息管理对象 goods_reimbursement_detail
 *
 * @author qh
 * @date 2023-01-16
 */
public class GoodsReimbursementDetail extends BaseEntity {
private static final long serialVersionUID=1L;

    /** $column.columnComment */
    private String id;

    /** 报销类型(0:公采;  1:自采) */
    @Excel(name = "报销类型(0:公采;  1:自采)")
    private String reimburseId;

    /** 报销人 */
    @Excel(name = "报销人")
    private String userId;

    /** 报销人姓名 */
    @Excel(name = "报销人姓名")
    private String userName;

    /** 发放日期 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @Excel(name = "发放日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date grantDate;

    /** 报销金额 */
    @Excel(name = "报销金额")
    private BigDecimal grantMoney;

    /** 附件 */
    @Excel(name = "附件")
    private String companyId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String companyName;

    /** 发放状态 */
    @Excel(name = "发放状态")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setReimburseId(String reimburseId)
            {
            this.reimburseId = reimburseId;
            }

    public String getReimburseId()
            {
            return reimburseId;
            }
    public void setUserId(String userId)
            {
            this.userId = userId;
            }

    public String getUserId()
            {
            return userId;
            }
    public void setUserName(String userName)
            {
            this.userName = userName;
            }

    public String getUserName()
            {
            return userName;
            }
    public void setGrantDate(Date grantDate)
            {
            this.grantDate = grantDate;
            }

    public Date getGrantDate()
            {
            return grantDate;
            }
    public void setGrantMoney(BigDecimal grantMoney)
            {
            this.grantMoney = grantMoney;
            }

    public BigDecimal getGrantMoney()
            {
            return grantMoney;
            }
    public void setCompanyId(String companyId)
            {
            this.companyId = companyId;
            }

    public String getCompanyId()
            {
            return companyId;
            }
    public void setCompanyName(String companyName)
            {
            this.companyName = companyName;
            }

    public String getCompanyName()
            {
            return companyName;
            }
    public void setStatus(String status)
            {
            this.status = status;
            }

    public String getStatus()
            {
            return status;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("reimburseId",getReimburseId())
            .append("userId",getUserId())
            .append("userName",getUserName())
            .append("grantDate",getGrantDate())
            .append("grantMoney",getGrantMoney())
            .append("companyId",getCompanyId())
            .append("companyName",getCompanyName())
            .append("status",getStatus())
            .append("delFlag",getDelFlag())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
            .append("remark",getRemark())
        .toString();
    }
}
